package com.gxa.modules.pc.hospital.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.gxa.modules.model.entity.hospital.PackageItems;
import com.gxa.modules.pc.hospital.mapper.PackageItemsMapper;
import com.gxa.modules.pc.hospital.service.PackageItemsService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 套餐项目关系表 服务实现类
 * </p>
 *
 * @author yjl
 * @since 2022-11-17 10:38:38
 */
@Service
public class PackageItemsServiceImpl extends ServiceImpl<PackageItemsMapper, PackageItems> implements PackageItemsService {

    @Autowired
    private PackageItemsMapper packageItemsMapper;
    @Override
    public void delete(List<Integer> lists) {
        QueryWrapper<PackageItems> wrapper = new QueryWrapper<>();
        wrapper.in("id",lists);
        packageItemsMapper.delete(wrapper);
    }
}
